

#include "stdafx.h"

#include <iostream>
using std::cout;
using std::cerr;
using std::endl;


#include "../../loader.h"

using namespace dlguif;

Loader loader;




int _tmain(int argc, _TCHAR* argv[])
{
	int red, green, blue;
 
   if(loader.DialogSelectColor("capt", 0, 255, 0, &red, &green, &blue))
   {
	   cout <<   "red  : " << red << endl;
	   cout <<   "green: " << green << endl;
	   cout <<   "blue : " << blue << endl;
   }
   else
   {
	   cout << "Undo select color \n";
   }
 
 
 
   system("pause");
	return 0;
}

